package flc.ast;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;

import flc.ast.activity.PicEditActivity;
import stark.common.basic.base.BaseNoModelFragment;

/**
 * @author:XiaoDan
 * @time:2023/4/15
 * @desc:
 */
public abstract class BaseEditFragment<DB extends ViewDataBinding> extends BaseNoModelFragment<DB> {

    protected PicEditActivity mImgEditActivity;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mImgEditActivity = (PicEditActivity) getActivity();
    }

    public abstract void onShow();

    public abstract void backToMain();
}
